package com.kaifamiao.statics;

public class StringStaticTest1 {

	public static void main(String[] args) {
		
		byte b = 100 ;
		String s = b + "" ; // 近串者串
		System.out.println( s );
		
		String x = String.valueOf( b );
		System.out.println( x );
		
		char[] chars = { '海','上','生','明','月','天','涯','共','此','时' } ;
		
		String t = String.copyValueOf( chars );
		System.out.println( t );
		
		String p = String.copyValueOf( chars , 3 , 4 );
		System.out.println( p );

	}

}
